home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / MPW IIGS Interfaces / CIIGSIncludes / QuickDraw.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-07-30  |  20.4 KB  |  472 lines  |  [TEXT/MPS ]

  1. /********************************************
  2. ; File: Quickdraw.h
  3. ;
  4. ;
  5. ; Copyright Apple Computer, Inc.1986-90
  6. ; All Rights Reserved
  7. ;
  8. ********************************************/
  9. #ifndef __TYPES__
  10. #include <TYPES.h>
  11. #endif
  12.  
  13. #ifndef __QUICKDRAW__
  14. #define __QUICKDRAW__
  15.  
  16.  
  17. /* Error Codes */
  18. #define alreadyInitialized 0x0401  /* Quickdraw already initialized */
  19. #define cannotReset 0x0402  /* never used */
  20. #define notInitialized 0x0403  /* Quickdraw not initialized */
  21. #define screenReserved 0x0410  /* screen reserved */
  22. #define badRect 0x0411  /* bad rectangle */
  23. #define notEqualChunkiness 0x0420  /* Chunkiness is not equal */
  24. #define rgnAlreadyOpen 0x0430  /* region is already open */
  25. #define rgnNotOpen 0x0431  /* region is not open */
  26. #define rgnScanOverflow 0x0432  /* region scan overflow */
  27. #define rgnFull 0x0433  /* region is full */
  28. #define polyAlreadyOpen 0x0440  /* poly is already open */
  29. #define polyNotOpen 0x0441  /* poly is not open */
  30. #define polyTooBig 0x0442  /* poly is too big */
  31. #define badTableNum 0x0450  /* bad table number */
  32. #define badColorNum 0x0451  /* bad color number */
  33. #define badScanLine 0x0452  /* bad scan line */
  34. #define notImplemented 0x04FF  /* not implemented */
  35.  
  36. /*  */
  37. #define tsNumber 0x04
  38.  
  39. /* AnSCBByte Masks */
  40. #define _colorTable 0x0F  /* Mask for SCB color table */
  41. #define scbReserved 0x10  /* Mask for SCB reserved bit */
  42. #define scbFill 0x20  /* Mask for SCB fill bit */
  43. #define scbInterrupt 0x40  /* Mask for SCB interrupt bit */
  44. #define scbColorMode 0x80  /* Mask for SCB color mode bit */
  45.  
  46. /* ColorData */
  47. #define table320 0x32  /* (val=size) */
  48. #define table640 0x32  /* (val=size) */
  49.  
  50. /* ColorValue */
  51. #define blueMask 0x000F  /* Mask for Blue nibble */
  52. #define greenMask 0x00F0  /* Mask for green nibble */
  53. #define redMask 0x0F00  /* Mask for red nibble */
  54.  
  55. /* FontFlags */
  56. #define widMaxSize 0x0001
  57. #define zeroSize 0x0002
  58.  
  59. /* GrafPort Sizes */
  60. #define maskSize 0x08  /* Mask Size (val=size) */
  61. #define locSize 0x10  /* Loc Size (val=size) */
  62. #define patsize 0x20  /* Pattern Size (val=size) */
  63. #define pnStateSize 0x32  /* Pen State Size (Val=size) */
  64. #define portSize 0xAA  /* Size of GrafPort */
  65.  
  66. /* MasterColors */
  67. #define black 0x000  /* These work in 320 and 640 mode */
  68. #define blue 0x00F  /* These work in 320 and 640 mode */
  69. #define darkGreen320 0x080  /* These work in 320 mode */
  70. #define green320 0x0E0  /* These work in 320 mode */
  71. #define green640 0x0F0  /* These work in 640 mode */
  72. #define lightBlue320 0x4DF  /* These work in 320 mode */
  73. #define purple320 0x72C  /* These work in 320 mode */
  74. #define darkGray320 0x777  /* These work in 320 mode */
  75. #define periwinkleBlue320 0x78F  /* These work in 320 mode */
  76. #define brown320 0x841  /* These work in 320 mode */
  77. #define lightGray320 0x0CCC  /* These work in 320 mode */
  78. #define red320 0x0D00  /* These work in 320 mode */
  79. #define lilac320 0x0DAF  /* These work in 320 mode */
  80. #define red640 0x0F00  /* These work in 640 mode */
  81. #define orange320 0x0F70  /* These work in 320 mode */
  82. #define flesh320 0x0FA9  /* These work in 320 mode */
  83. #define yellow 0x0FF0  /* These work in 320 and 640 mode */
  84. #define white 0x0FFF  /* These work in 320 and 640 mode */
  85.  
  86. /* PenMode Data */
  87. #define modeCopy 0x0000
  88. #define modeOR 0x0001
  89. #define modeXOR 0x0002
  90. #define modeBIC 0x0003
  91. #define modeForeCopy 0x0004
  92. #define modeForeOR 0x0005
  93. #define modeForeXOR 0x0006
  94. #define modeForeBIC 0x0007
  95. #define modeNOT 0x8000
  96. #define notCopy 0x8000
  97. #define notOR 0x8001
  98. #define notXOR 0x8002
  99. #define notBIC 0x8003
  100. #define notForeCOPY 0x8004
  101. #define notForeOR 0x8005
  102. #define notForeXOR 0x8006
  103. #define notForeBIC 0x8007
  104.  
  105. /* QDStartup */
  106. #define mode320 0x0000  /* Argument to QDStartup */
  107. #define mode640 0x0080  /* Argument to QDStartup */
  108.  
  109. /* TextStyle */
  110. #define plainMask 0x0000  /* Mask for plain text bit */
  111. #define boldMask 0x0001  /* Mask for bold bit */
  112. #define italicMask 0x0002  /* Mask for italic bit */
  113. #define underlineMask 0x0004  /* Mask for underline bit */
  114. #define outlineMask 0x0008  /* Mask for outline bit */
  115. #define shadowMask 0x0010  /* Mask for shadow bit */
  116. #define fUseShadowing 0x4000
  117. #define fFastPortAware 0x4000  /* 16384 */
  118. typedef Integer TextStyle;
  119. typedef Integer ColorValue;
  120. typedef Byte AnSCBByte;
  121. typedef unsigned char Pattern[32], *PatternPtr;
  122. typedef unsigned char Mask[8];
  123. struct Cursor {
  124.    Word cursorHeight; /* size in bytes */
  125.    Word cursorWidth; /* enclosing rectangle */
  126.    Word cursorData[1]; /*   */
  127.    Word cursorMask[1]; /*   */
  128.    Point cursorHotSpot; /*   */
  129. } ;
  130. typedef struct Cursor Cursor, *CursorPtr, **CursorHndl;
  131. struct Region {
  132.    Word rgnSize; /* size in bytes */
  133.    Rect rgnBBox; /* enclosing rectangle */
  134. } ;
  135. typedef struct Region Region, *RegionPtr, **RegionHndl;
  136. struct BufDimRec {
  137.    Word maxWidth; /*  */
  138.    Word textBufHeight; /*  */
  139.    Word textBufferWords; /*  */
  140.    Word fontWidth; /*  */
  141. } ;
  142. typedef struct BufDimRec BufDimRec, *BufDimRecPtr, **BufDimRecHndl;
  143. struct Font {
  144.    Word offseToMF; /* fully defined front of the Font record. */
  145.    Word family;
  146.    TextStyle style;
  147.    Word size;
  148.    Word version;
  149.    Word fbrExtent;
  150.    Word highowTLoc; /*   */
  151. } ;
  152. typedef struct Font Font, *FontPtr, **FontHndl;
  153. struct FontGlobalsRecord {
  154.    Word fgFontID; /* currently 12 bytes long, but may be expanded */
  155.    TextStyle fgStyle; /*  */
  156.    Word fgSize; /*  */
  157.    Word fgVersion; /*  */
  158.    Word fgWidMax; /*  */
  159.    Word fgFBRExtent; /*  */
  160. } ;
  161. typedef struct FontGlobalsRecord FontGlobalsRecord, *FontGlobalsRecPtr, **FontGlobalsRecHndl;
  162. union FontID {
  163. struct  {
  164. Word     famNum;     /* FontID -   */
  165. Byte     fontStyle;     /* FontID -   */
  166. Byte     fontSize;     /* FontID -   */
  167. } fidRec ;
  168. Long fidLong;
  169. };
  170. typedef union FontID FontID, *FontIDPtr, **FontIDHndl;
  171.  
  172. struct FontInfoRecord {
  173.    Word ascent; /*  */
  174.    Word descent; /*  */
  175.    Word widMax; /*  */
  176.    Word leading; /*  */
  177. } ;
  178. typedef struct FontInfoRecord FontInfoRecord, *FontInfoRecPtr, **FontInfoRecHndl;
  179. struct LocInfo {
  180.    Word portSCB; /* SCBByte in low byte */
  181.    Pointer ptrToPixImage; /* ImageRef */
  182.    Word width; /* Width */
  183.    Rect boundsRect; /* BoundsRect */
  184. } ;
  185. typedef struct LocInfo LocInfo, *LocInfoPtr, **LocInfoHndl;
  186. struct QDProcs {
  187.    VoidProcPtr stdText; /*  */
  188.    VoidProcPtr stdLine; /*  */
  189.    VoidProcPtr stdRect; /*  */
  190.    VoidProcPtr stdRRect; /*  */
  191.    VoidProcPtr stdOval; /*  */
  192.    VoidProcPtr stdArc; /*  */
  193.    VoidProcPtr stdPoly; /*  */
  194.    VoidProcPtr stdRgn; /*  */
  195.    VoidProcPtr stdPixels; /*  */
  196.    VoidProcPtr stdComment; /*  */
  197.    VoidProcPtr stdTxMeas; /*  */
  198.    VoidProcPtr stdTxBnds; /*  */
  199.    VoidProcPtr stdGetPic; /*  */
  200.    VoidProcPtr stdPutPic; /*  */
  201. } ;
  202. typedef struct QDProcs QDProcs, *QDProcsPtr, **QDProcsHndl;
  203. struct GrafPort {
  204.    LocInfo portInfo;
  205.    Rect portRect; /* PortRect */
  206.    RegionHndl clipRgn; /* Clip Rgn. Pointer */
  207.    RegionHndl visRgn; /* Vis. Rgn. Pointer */
  208.    Pattern bkPat; /* BackGround Pattern */
  209.    Point pnLoc; /* Pen Location */
  210.    Point pnSize; /* Pen Size */
  211.    Word pnMode; /* Pen Mode */
  212.    Pattern pnPat; /* Pen Pattern */
  213.    Mask pnMask; /* Pen Mask */
  214.    Word pnVis; /* Pen Visable */
  215.    FontHndl fontHandle;
  216.    FontID fontID; /* Font ID */
  217.    Word fontFlags; /* FontFlags */
  218.    Word txSize; /* Text Size */
  219.    TextStyle txFace; /* Text Face */
  220.    Word txMode; /* Text Mode */
  221.    Fixed spExtra; /* Fixed Point Value */
  222.    Fixed chExtra; /* Fixed Point Value */
  223.    Word fgColor; /* ForeGround Color */
  224.    Word bgColor; /* BackGround Color */
  225.    Handle picSave; /* PicSave */
  226.    Handle rgnSave; /* RgnSave */
  227.    Handle polySave; /* PolySave */
  228.    QDProcsPtr grafProcs;
  229.    Word arcRot; /* ArcRot */
  230.    Longint userField; /* UserField */
  231.    Longint sysField; /* SysField */
  232. } ;
  233. typedef struct GrafPort GrafPort, *GrafPortPtr, **GrafPortHndl;
  234. struct PaintParam {
  235.    LocInfoPtr ptrToSourceLocInfo; /*  */
  236.    LocInfoPtr ptrToDestLocInfo; /*  */
  237.    Rect *ptrToSourceRect; /*  */
  238.    Point *ptrToDestPoint; /*  */
  239.    Word mode; /*  */
  240.    Handle maskHandle; /* clip region */
  241. } ;
  242. typedef struct PaintParam PaintParam, *PaintParamPtr, **PaintParamHndl;
  243. struct PenState {
  244.    Point psPenLoc;
  245.    Point psPenSize;
  246.    Word psPenMode;
  247.    Pattern psPenPat;
  248.    Mask psPenMask; /*   */
  249. } ;
  250. typedef struct PenState PenState, *PenStatePtr, **PenStateHndl;
  251. struct RomFontRec {
  252.    Word rfFamNum; /*  */
  253.    Word rfFamStyle; /*  */
  254.    Word rfSize; /*  */
  255.    FontHndl rfFontHandle; /*  */
  256.    Pointer rfNamePtr; /*  */
  257.    Word rfFBRExtent; /*  */
  258. } ;
  259. typedef struct RomFontRec RomFontRec, *RomFontRecPtr, **RomFontRecHndl;
  260. typedef Word ColorTable[16], *ColorTablePtr, **ColorTableHndl;
  261. extern pascal void AddPt() inline(0x8004,dispatcher);
  262. extern pascal void CStringBounds() inline(0xAE04,dispatcher);
  263. extern pascal Word CStringWidth() inline(0xAA04,dispatcher);
  264. extern pascal void CharBounds() inline(0xAC04,dispatcher);
  265. extern pascal Word CharWidth() inline(0xA804,dispatcher);
  266. extern pascal void ClearScreen() inline(0x1504,dispatcher);
  267. extern pascal void ClipRect() inline(0x2604,dispatcher);
  268. extern pascal void ClosePoly() inline(0xC204,dispatcher);
  269. extern pascal void ClosePort() inline(0x1A04,dispatcher);
  270. extern pascal void CloseRgn() inline(0x6E04,dispatcher);
  271. extern pascal void CopyRgn() inline(0x6904,dispatcher);
  272. extern pascal void DiffRgn() inline(0x7304,dispatcher);
  273. extern pascal void DisposeRgn() inline(0x6804,dispatcher);
  274. extern pascal void DrawCString() inline(0xA604,dispatcher);
  275. extern pascal void DrawChar() inline(0xA404,dispatcher);
  276. extern pascal void DrawString() inline(0xA504,dispatcher);
  277. extern pascal void DrawText() inline(0xA704,dispatcher);
  278. extern pascal Boolean EmptyRgn() inline(0x7804,dispatcher);
  279. extern pascal Boolean EqualPt() inline(0x8304,dispatcher);
  280. extern pascal Boolean EqualRect() inline(0x5104,dispatcher);
  281. extern pascal Boolean EqualRgn() inline(0x7704,dispatcher);
  282. extern pascal void EraseArc() inline(0x6404,dispatcher);
  283. extern pascal void EraseOval() inline(0x5A04,dispatcher);
  284. extern pascal void ErasePoly() inline(0xBE04,dispatcher);
  285. extern pascal void EraseRRect() inline(0x5F04,dispatcher);
  286. extern pascal void EraseRect() inline(0x5504,dispatcher);
  287. extern pascal void EraseRgn() inline(0x7B04,dispatcher);
  288. extern pascal void FillArc() inline(0x6604,dispatcher);
  289. extern pascal void FillOval() inline(0x5C04,dispatcher);
  290. extern pascal void FillPoly() inline(0xC004,dispatcher);
  291. extern pascal void FillRRect() inline(0x6104,dispatcher);
  292. extern pascal void FillRect() inline(0x5704,dispatcher);
  293. extern pascal void FillRgn() inline(0x7D04,dispatcher);
  294. extern pascal void ForceBufDims() inline(0xCC04,dispatcher);
  295. extern pascal void FrameArc() inline(0x6204,dispatcher);
  296. extern pascal void FrameOval() inline(0x5804,dispatcher);
  297. extern pascal void FramePoly() inline(0xBC04,dispatcher);
  298. extern pascal void FrameRRect() inline(0x5D04,dispatcher);
  299. extern pascal void FrameRect() inline(0x5304,dispatcher);
  300. extern pascal void FrameRgn() inline(0x7904,dispatcher);
  301. extern pascal Pointer GetAddress() inline(0x0904,dispatcher);
  302. extern pascal Word GetArcRot() inline(0xB104,dispatcher);
  303. extern pascal Word GetBackColor() inline(0xA304,dispatcher);
  304. extern pascal void GetBackPat() inline(0x3504,dispatcher);
  305. extern pascal Fixed GetCharExtra() inline(0xD504,dispatcher);
  306. extern pascal void GetClip() inline(0x2504,dispatcher);
  307. extern pascal RegionHndl GetClipHandle() inline(0xC704,dispatcher);
  308. extern pascal Word GetColorEntry() inline(0x1104,dispatcher);
  309. extern pascal void GetColorTable() inline(0x0F04,dispatcher);
  310. extern pascal CursorPtr GetCursorAdr() inline(0x8F04,dispatcher);
  311. extern pascal Word GetFGSize() inline(0xCF04,dispatcher);
  312. extern pascal FontHndl GetFont() inline(0x9504,dispatcher);
  313. extern pascal Word GetFontFlags() inline(0x9904,dispatcher);
  314. extern pascal void GetFontGlobals() inline(0x9704,dispatcher);
  315. extern pascal Long GetFontID() inline(0xD104,dispatcher);
  316.  
  317. extern pascal void GetFontInfo() inline(0x9604,dispatcher);
  318. extern pascal Word GetFontLore() inline(0xD904,dispatcher);
  319. extern pascal Word GetForeColor() inline(0xA104,dispatcher);
  320. extern pascal QDProcsPtr GetGrafProcs() inline(0x4504,dispatcher);
  321. extern pascal Word GetMasterSCB() inline(0x1704,dispatcher);
  322. extern pascal void GetPen() inline(0x2904,dispatcher);
  323. extern pascal void GetPenMask() inline(0x3304,dispatcher);
  324. extern pascal Word GetPenMode() inline(0x2F04,dispatcher);
  325. extern pascal void GetPenPat() inline(0x3104,dispatcher);
  326. extern pascal void GetPenSize() inline(0x2D04,dispatcher);
  327. extern pascal void GetPenState() inline(0x2B04,dispatcher);
  328. extern pascal Longint GetPicSave() inline(0x3F04,dispatcher);
  329. extern pascal Word GetPixel() inline(0x8804,dispatcher);
  330. extern pascal LongWord GetPolySave() inline(0x4304,dispatcher);
  331. extern pascal GrafPortPtr GetPort() inline(0x1C04,dispatcher);
  332. extern pascal void GetPortLoc() inline(0x1E04,dispatcher);
  333. extern pascal void GetPortRect() inline(0x2004,dispatcher);
  334. extern pascal void GetROMFont() inline(0xD804,dispatcher);
  335. extern pascal LongWord GetRgnSave() inline(0x4104,dispatcher);
  336. extern pascal Word GetSCB() inline(0x1304,dispatcher);
  337. extern pascal Fixed GetSpaceExtra() inline(0x9F04,dispatcher);
  338. extern pascal Word GetStandardSCB() inline(0x0C04,dispatcher);
  339. extern pascal Longint GetSysField() inline(0x4904,dispatcher);
  340. extern pascal FontHndl GetSysFont() inline(0xB304,dispatcher);
  341. extern pascal TextStyle GetTextFace() inline(0x9B04,dispatcher);
  342. extern pascal Word GetTextMode() inline(0x9D04,dispatcher);
  343. extern pascal Word GetTextSize() inline(0xD304,dispatcher);
  344. extern pascal Longint GetUserField() inline(0x4704,dispatcher);
  345. extern pascal RegionHndl GetVisHandle() inline(0xC904,dispatcher);
  346. extern pascal void GetVisRgn() inline(0xB504,dispatcher);
  347. extern pascal void GlobalToLocal() inline(0x8504,dispatcher);
  348. extern pascal void GrafOff() inline(0x0B04,dispatcher);
  349. extern pascal void GrafOn() inline(0x0A04,dispatcher);
  350. extern pascal void HideCursor() inline(0x9004,dispatcher);
  351. extern pascal void HidePen() inline(0x2704,dispatcher);
  352. extern pascal void InflateTextBuffer() inline(0xD704,dispatcher);
  353. extern pascal void InitColorTable() inline(0x0D04,dispatcher);
  354. extern pascal void InitCursor() inline(0xCA04,dispatcher);
  355. extern pascal void InitPort() inline(0x1904,dispatcher);
  356. extern pascal void InsetRect() inline(0x4C04,dispatcher);
  357. extern pascal void InsetRgn() inline(0x7004,dispatcher);
  358. extern pascal void InvertArc() inline(0x6504,dispatcher);
  359. extern pascal void InvertOval() inline(0x5B04,dispatcher);
  360. extern pascal void InvertPoly() inline(0xBF04,dispatcher);
  361. extern pascal void InvertRRect() inline(0x6004,dispatcher);
  362. extern pascal void InvertRect() inline(0x5604,dispatcher);
  363. extern pascal void InvertRgn() inline(0x7C04,dispatcher);
  364. extern pascal void KillPoly() inline(0xC304,dispatcher);
  365. extern pascal void Line() inline(0x3D04,dispatcher);
  366. extern pascal void LineTo() inline(0x3C04,dispatcher);
  367. extern pascal void LocalToGlobal() inline(0x8404,dispatcher);
  368. extern pascal void MapPoly() inline(0xC504,dispatcher);
  369. extern pascal void MapPt() inline(0x8A04,dispatcher);
  370. extern pascal void MapRect() inline(0x8B04,dispatcher);
  371. extern pascal void MapRgn() inline(0x8C04,dispatcher);
  372. extern pascal void Move() inline(0x3B04,dispatcher);
  373. extern pascal void MovePortTo() inline(0x2204,dispatcher);
  374. extern pascal void MoveTo() inline(0x3A04,dispatcher);
  375. extern pascal RegionHndl NewRgn() inline(0x6704,dispatcher);
  376. extern pascal Boolean NotEmptyRect() inline(0x5204,dispatcher);
  377. extern pascal void ObscureCursor() inline(0x9204,dispatcher);
  378. extern pascal void OffsetPoly() inline(0xC404,dispatcher);
  379. extern pascal void OffsetRect() inline(0x4B04,dispatcher);
  380. extern pascal void OffsetRgn() inline(0x6F04,dispatcher);
  381. extern pascal handle OpenPoly() inline(0xC104,dispatcher);
  382. extern pascal void OpenPort() inline(0x1804,dispatcher);
  383. extern pascal void OpenRgn() inline(0x6D04,dispatcher);
  384. extern pascal void PPToPort() inline(0xD604,dispatcher);
  385. extern pascal void PaintArc() inline(0x6304,dispatcher);
  386. extern pascal void PaintOval() inline(0x5904,dispatcher);
  387. extern pascal void PaintPixels() inline(0x7F04,dispatcher);
  388. extern pascal void PaintPoly() inline(0xBD04,dispatcher);
  389. extern pascal void PaintRRect() inline(0x5E04,dispatcher);
  390. extern pascal void PaintRect() inline(0x5404,dispatcher);
  391. extern pascal void PaintRgn() inline(0x7A04,dispatcher);
  392. extern pascal void PenNormal() inline(0x3604,dispatcher);
  393. extern pascal void Pt2Rect() inline(0x5004,dispatcher);
  394. extern pascal Boolean PtInRect() inline(0x4F04,dispatcher);
  395. extern pascal Boolean PtInRgn() inline(0x7504,dispatcher);
  396. extern pascal void QDBootInit() inline(0x0104,dispatcher);
  397. extern pascal void QDReset() inline(0x0504,dispatcher);
  398. extern pascal void QDShutDown() inline(0x0304,dispatcher);
  399. extern pascal void QDStartUp() inline(0x0204,dispatcher);
  400. extern pascal Boolean QDStatus() inline(0x0604,dispatcher);
  401. extern pascal Word QDVersion() inline(0x0404,dispatcher);
  402. extern pascal Word Random() inline(0x8604,dispatcher);
  403. extern pascal Boolean RectInRgn() inline(0x7604,dispatcher);
  404. extern pascal void RectRgn() inline(0x6C04,dispatcher);
  405. extern pascal void RestoreBufDims() inline(0xCE04,dispatcher);
  406. extern pascal void SaveBufDims() inline(0xCD04,dispatcher);
  407. extern pascal void ScalePt() inline(0x8904,dispatcher);
  408. extern pascal void ScrollRect() inline(0x7E04,dispatcher);
  409. extern pascal Boolean SectRect() inline(0x4D04,dispatcher);
  410. extern pascal void SectRgn() inline(0x7104,dispatcher);
  411. extern pascal void SetAllSCBs() inline(0x1404,dispatcher);
  412. extern pascal void SetArcRot() inline(0xB004,dispatcher);
  413. extern pascal void SetBackColor() inline(0xA204,dispatcher);
  414. extern pascal void SetBackPat() inline(0x3404,dispatcher);
  415. extern pascal void SetBufDims() inline(0xCB04,dispatcher);
  416. extern pascal void SetCharExtra() inline(0xD404,dispatcher);
  417. extern pascal void SetClip() inline(0x2404,dispatcher);
  418. extern pascal void SetClipHandle() inline(0xC604,dispatcher);
  419. extern pascal void SetColorEntry() inline(0x1004,dispatcher);
  420. extern pascal void SetColorTable() inline(0x0E04,dispatcher);
  421. extern pascal void SetCursor() inline(0x8E04,dispatcher);
  422. extern pascal void SetEmptyRgn() inline(0x6A04,dispatcher);
  423. extern pascal void SetFont() inline(0x9404,dispatcher);
  424. extern pascal void SetFontFlags() inline(0x9804,dispatcher);
  425. extern pascal void SetFontID() inline(0xD004,dispatcher);
  426. extern pascal void SetForeColor() inline(0xA004,dispatcher);
  427. extern pascal void SetGrafProcs() inline(0x4404,dispatcher);
  428. extern pascal void SetIntUse() inline(0xB604,dispatcher);
  429. extern pascal void SetMasterSCB() inline(0x1604,dispatcher);
  430. extern pascal void SetOrigin() inline(0x2304,dispatcher);
  431. extern pascal void SetPenMask() inline(0x3204,dispatcher);
  432. extern pascal void SetPenMode() inline(0x2E04,dispatcher);
  433. extern pascal void SetPenPat() inline(0x3004,dispatcher);
  434. extern pascal void SetPenSize() inline(0x2C04,dispatcher);
  435. extern pascal void SetPenState() inline(0x2A04,dispatcher);
  436. extern pascal void SetPicSave() inline(0x3E04,dispatcher);
  437. extern pascal void SetPolySave() inline(0x4204,dispatcher);
  438. extern pascal void SetPort() inline(0x1B04,dispatcher);
  439. extern pascal void SetPortLoc() inline(0x1D04,dispatcher);
  440. extern pascal void SetPortRect() inline(0x1F04,dispatcher);
  441. extern pascal void SetPortSize() inline(0x2104,dispatcher);
  442. extern pascal void SetPt() inline(0x8204,dispatcher);
  443. extern pascal void SetRandSeed() inline(0x8704,dispatcher);
  444. extern pascal void SetRect() inline(0x4A04,dispatcher);
  445. extern pascal void SetRectRgn() inline(0x6B04,dispatcher);
  446. extern pascal void SetRgnSave() inline(0x4004,dispatcher);
  447. extern pascal void SetSCB() inline(0x1204,dispatcher);
  448. extern pascal void SetSolidBackPat() inline(0x3804,dispatcher);
  449. extern pascal void SetSolidPenPat() inline(0x3704,dispatcher);
  450. extern pascal void SetSpaceExtra() inline(0x9E04,dispatcher);
  451. extern pascal void SetStdProcs() inline(0x8D04,dispatcher);
  452. extern pascal void SetSysField() inline(0x4804,dispatcher);
  453. extern pascal void SetSysFont() inline(0xB204,dispatcher);
  454. extern pascal void SetTextFace() inline(0x9A04,dispatcher);
  455. extern pascal void SetTextMode() inline(0x9C04,dispatcher);
  456. extern pascal void SetTextSize() inline(0xD204,dispatcher);
  457. extern pascal void SetUserField() inline(0x4604,dispatcher);
  458. extern pascal void SetVisHandle() inline(0xC804,dispatcher);
  459. extern pascal void SetVisRgn() inline(0xB404,dispatcher);
  460. extern pascal void ShowCursor() inline(0x9104,dispatcher);
  461. extern pascal void ShowPen() inline(0x2804,dispatcher);
  462. extern pascal void SolidPattern() inline(0x3904,dispatcher);
  463. extern pascal void StringBounds() inline(0xAD04,dispatcher);
  464. extern pascal Word StringWidth() inline(0xA904,dispatcher);
  465. extern pascal void SubPt() inline(0x8104,dispatcher);
  466. extern pascal void TextBounds() inline(0xAF04,dispatcher);
  467. extern pascal Word TextWidth() inline(0xAB04,dispatcher);
  468. extern pascal void UnionRect() inline(0x4E04,dispatcher);
  469. extern pascal void UnionRgn() inline(0x7204,dispatcher);
  470. extern pascal void XorRgn() inline(0x7404,dispatcher);
  471. #endif
  472.